# 定义动物类
class Animal:
    @staticmethod
    def talk():
        print('动物叫')


# 定义狗类
class Dog:
    @staticmethod
    def talk():
        print('旺旺')


# 定义猫类
class Cat:
    @staticmethod
    def talk():
        print('喵喵')


# 定义统一调用接口
def do_call(obj):
    obj.talk()


do_call(Dog())
do_call(Cat())
